<!-- HTML header for doxygen 1.8.14-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="cache-control" content="max-age=86400"/>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GBDK 2020 Docs: gbdk-lib/include/gb/hardware.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GBDK 2020 Docs
   &#160;<span id="projectnumber">4.4.0</span>
   </div>
   <div id="projectbrief">API Documentation for GBDK 2020</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('gb_2hardware_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">hardware.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="gb_2hardware_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef _HARDWARE_H</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define _HARDWARE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;types.h&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">   12</a></span>&#160;<span class="preprocessor">#define __BYTES extern UBYTE</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">   13</a></span>&#160;<span class="preprocessor">#define __BYTE_REG extern volatile UBYTE</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">   14</a></span>&#160;<span class="preprocessor">#define __REG extern volatile SFR</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">   18</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">_VRAM</a>[];</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">   19</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">_VRAM8000</a>[];</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">   20</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">_VRAM8800</a>[];</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">   21</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">_VRAM9000</a>[];</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">   22</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">_SCRN0</a>[];</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">   23</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">_SCRN1</a>[];</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">   24</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">_SRAM</a>[];</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">   25</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">_RAM</a>[];</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">   26</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">_RAMBANK</a>[];</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">   27</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a> <a class="code" href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">_OAMRAM</a>[];</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">   28</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">_IO</a>[];</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">   29</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">_AUD3WAVERAM</a>[];</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">   30</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">_HRAM</a>[];</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">   34</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">rRAMG</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">   35</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">rROMB0</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">   36</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">rROMB1</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">   37</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">rRAMB</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72f13bc5e9d5d2c2bd837566062007a4">   41</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a72f13bc5e9d5d2c2bd837566062007a4">rMBC7_SRAM_ENABLE_1</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0f49339112f87fecc29a8e0d7f6636bb">   42</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a0f49339112f87fecc29a8e0d7f6636bb">rMBC7_SRAM_ENABLE_2</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aee53ec47dc1fcc0b5eb4e8e4e8505a30">   43</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#aee53ec47dc1fcc0b5eb4e8e4e8505a30">rMBC7_LATCH_1</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abe4c4490be3e52a9e4096421af3d37e1">   44</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#abe4c4490be3e52a9e4096421af3d37e1">rMBC7_LATCH_2</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9e24325500b1b08daf1fefe60d7dc030">   45</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a9e24325500b1b08daf1fefe60d7dc030">rMBC7_ACCEL_X_LO</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a33690469970c7f845600e56902e8bfe0">   46</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a33690469970c7f845600e56902e8bfe0">rMBC7_ACCEL_X_HI</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a16ec6767bce0ca8c46ac6f67727e4640">   47</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a16ec6767bce0ca8c46ac6f67727e4640">rMBC7_ACCEL_Y_LO</a>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1faf3ac761847699c2c60ce044387b39">   48</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a1faf3ac761847699c2c60ce044387b39">rMBC7_ACCEL_Y_HI</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa2c85246f3b42c2e140bf58cbd0cec80">   50</a></span>&#160;<span class="preprocessor">#define MBC7_LATCH_ERASE        0x55u</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5aa863850a6e5fa1a919deac86c33192">   51</a></span>&#160;<span class="preprocessor">#define MBC7_LATCH_CAPTURE      0xAAu</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6e5aa02c219181b3432ae317abfaf122">   52</a></span>&#160;<span class="preprocessor">#define MBC7_SRAM_ENABLE_KEY_1  0x0Au</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae5bdbf27e6fc9ecee7fcf493ca3907f2">   53</a></span>&#160;<span class="preprocessor">#define MBC7_SRAM_ENABLE_KEY_2  0x40u</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">   57</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">P1_REG</a>;           </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae7eccdbd4f7b211074591866f515b760">   58</a></span>&#160;<span class="preprocessor">#define rP1 P1_REG</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6963ef598339e1163d30e57a962e5278">   60</a></span>&#160;<span class="preprocessor">#define P1F_5 0b00100000</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad215dbfc83c9486ead2f28510366f40b">   61</a></span>&#160;<span class="preprocessor">#define P1F_4 0b00010000</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae8e325a01af1c20935a0c73ea6465a0e">   62</a></span>&#160;<span class="preprocessor">#define P1F_3 0b00001000</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af59d0dd661ea73965101294d30111385">   63</a></span>&#160;<span class="preprocessor">#define P1F_2 0b00000100</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aad20c4bf5115b40c9118a484808f4b92">   64</a></span>&#160;<span class="preprocessor">#define P1F_1 0b00000010</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aedf8627c42ccf0aad5025ef629f4395a">   65</a></span>&#160;<span class="preprocessor">#define P1F_0 0b00000001</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeaabebe6a36d9e59a01dfceceb7b37d0">   67</a></span>&#160;<span class="preprocessor">#define P1F_GET_DPAD P1F_5</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a750bc82ab34a8929a5bba10f2336abe6">   68</a></span>&#160;<span class="preprocessor">#define P1F_GET_BTN  P1F_4</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5c97ffb0ee0a345ad31797da26410b5a">   69</a></span>&#160;<span class="preprocessor">#define P1F_GET_NONE (P1F_4 | P1F_5)</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">   71</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">SB_REG</a>;           </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af35c8012bca7a164f0910d55cdf6030f">   72</a></span>&#160;<span class="preprocessor">#define rSB SB_REG</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">   73</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">SC_REG</a>;           </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7780d3a9b0fcc42499ed2451d7ab2ec5">   74</a></span>&#160;<span class="preprocessor">#define rSC SC_REG</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a21a6e935e8a3ac591905429874ccbe84">   76</a></span>&#160;<span class="preprocessor">#define SIOF_XFER_START     0b10000000 </span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a55ab8a9eb853e9bcfd72a2bf7e2c524b">   77</a></span>&#160;<span class="preprocessor">#define SIOF_CLOCK_INT      0b00000001 </span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72a900117cdee0fbec10a278d9de0876">   78</a></span>&#160;<span class="preprocessor">#define SIOF_CLOCK_EXT      0b00000000 </span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae9c948fad514ac440b7c6cc037384ec2">   79</a></span>&#160;<span class="preprocessor">#define SIOF_SPEED_1X       0b00000000 </span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a44f550e55e7154388748e7c330929c63">   80</a></span>&#160;<span class="preprocessor">#define SIOF_SPEED_32X      0b00000010 </span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a19b35b0b21101a2782ce5bde4125db04">   81</a></span>&#160;<span class="preprocessor">#define SIOF_B_CLOCK        0</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a32b7b11b2ca90ffb52ce19e7279ea973">   82</a></span>&#160;<span class="preprocessor">#define SIOF_B_SPEED        1</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a03aaffc30c9ff81d86502c1f6b3dbaea">   83</a></span>&#160;<span class="preprocessor">#define SIOF_B_XFER_START   7</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9a23aa4755bbd3994d2b3b8dd77c5b50">   84</a></span>&#160;<span class="preprocessor">#define SCF_START           SIOF_XFER_START</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72d6af50641c36bd38ba5dfee229a032">   85</a></span>&#160;<span class="preprocessor">#define SCF_SOURCE          SIOF_CLOCK_INT</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a934eba7bd84d8082bb934a609686d6d6">   86</a></span>&#160;<span class="preprocessor">#define SCF_SPEED           SIOF_SPEED_32X</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">   88</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">DIV_REG</a>;          </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a12ba1f984c585c57163f214f8829d569">   89</a></span>&#160;<span class="preprocessor">#define rDIV DIV_REG</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">   90</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">TIMA_REG</a>;         </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a51594891b388d60d6917a6ff64542b66">   91</a></span>&#160;<span class="preprocessor">#define rTIMA TIMA_REG</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">   92</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">TMA_REG</a>;          </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a588d681dc33d9da3a899863b42980e18">   93</a></span>&#160;<span class="preprocessor">#define rTMA TMA_REG</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">   94</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">TAC_REG</a>;          </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeddc90947f6a6a3a3fd1e1db3751c988">   95</a></span>&#160;<span class="preprocessor">#define rTAC TAC_REG</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a07863a535e0aaa11b73608d7430dbc0a">   97</a></span>&#160;<span class="preprocessor">#define TACF_START  0b00000100</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9179fd1ba4626627567b9478f691e653">   98</a></span>&#160;<span class="preprocessor">#define TACF_STOP   0b00000000</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a19dce313b521aad75756abfc19bc9e78">   99</a></span>&#160;<span class="preprocessor">#define TACF_4KHZ   0b00000000</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7d2c165347d3bb3e3a54fad73e1f363e">  100</a></span>&#160;<span class="preprocessor">#define TACF_16KHZ  0b00000011</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8be2b577af91deed7b8946b500e73319">  101</a></span>&#160;<span class="preprocessor">#define TACF_65KHZ  0b00000010</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac00b1e90d257b756845da578f4c3f3ba">  102</a></span>&#160;<span class="preprocessor">#define TACF_262KHZ 0b00000001</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">  104</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">IF_REG</a>;           </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9534175911f7a54fa550318b275c4cc3">  105</a></span>&#160;<span class="preprocessor">#define rIF IF_REG</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">  107</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">NR10_REG</a>;             </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4a73d9c15883b576fa0a5b4cc4ac2d08">  108</a></span>&#160;<span class="preprocessor">#define rAUD1SWEEP NR10_REG </span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8b5c841c97ae090724a910040f8dd2d">  109</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_UP        0b00000000 </span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a281569182e3edb53b7c78b95a4082971">  110</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_DOWN      0b00001000 </span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac4cbf03d9c2d64cddaf348e003780cf8">  111</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_TIME(x)   ((x) &lt;&lt; 4) </span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaed4a07f441ddeecae520e76eb7b7e27">  112</a></span>&#160;<span class="preprocessor">#define AUD1SWEEP_LENGTH(x) (x)        </span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">  113</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">NR11_REG</a>;            </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaeb899eb6bd0593ffb4e90a2f762b18f">  114</a></span>&#160;<span class="preprocessor">#define rAUD1LEN NR11_REG  </span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">  115</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">NR12_REG</a>;            </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae787a2c857fe8f3803ca353d5309fc85">  116</a></span>&#160;<span class="preprocessor">#define rAUD1ENV NR12_REG  </span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">  117</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">NR13_REG</a>;            </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abb35a844f228403a96e28da7633344e1">  118</a></span>&#160;<span class="preprocessor">#define rAUD1LOW NR13_REG  </span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">  119</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">NR14_REG</a>;            </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab042aa7a7fae75f94d8fb3e08004c797">  120</a></span>&#160;<span class="preprocessor">#define rAUD1HIGH NR14_REG </span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">  122</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">NR21_REG</a>;            </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a12f01b21d08249800571c6e0f26beeae">  123</a></span>&#160;<span class="preprocessor">#define rAUD2LEN NR21_REG  </span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">  124</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">NR22_REG</a>;            </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abf3efd42adced218237283156dbae055">  125</a></span>&#160;<span class="preprocessor">#define rAUD2ENV NR22_REG  </span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">  126</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">NR23_REG</a>;            </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a521466a7650d60b464991ebf68112114">  127</a></span>&#160;<span class="preprocessor">#define rAUD2LOW NR23_REG  </span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">  128</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">NR24_REG</a>;            </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afc3684b8215221942a0cddc5960cf8a9">  129</a></span>&#160;<span class="preprocessor">#define rAUD2HIGH NR24_REG </span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">  131</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">NR30_REG</a>;            </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13e230a0d2979e0b9ca9582f6010162b">  132</a></span>&#160;<span class="preprocessor">#define rAUD3ENA NR30_REG  </span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">  133</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">NR31_REG</a>;            </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae168529ead90f90c28f75d57ba4d28e2">  134</a></span>&#160;<span class="preprocessor">#define rAUD3LEN NR31_REG  </span></div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">  135</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">NR32_REG</a>;            </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a298bccebea918c63aed36c811e02333d">  136</a></span>&#160;<span class="preprocessor">#define rAUD3LEVEL NR32_REG</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">  137</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">NR33_REG</a>;            </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a31d1d4441749e90c2895fc8750b2234c">  138</a></span>&#160;<span class="preprocessor">#define rAUD3LOW NR33_REG  </span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">  139</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">NR34_REG</a>;            </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acd0b3763f8599ed65e2d060b159bd91c">  140</a></span>&#160;<span class="preprocessor">#define rAUD3HIGH NR34_REG </span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">  142</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">NR41_REG</a>;            </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abd820b2f5c18efb43548f64862d38f05">  143</a></span>&#160;<span class="preprocessor">#define rAUD4LEN NR41_REG  </span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">  144</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">NR42_REG</a>;            </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abba6cc1819ea73d36a389fd99807dac5">  145</a></span>&#160;<span class="preprocessor">#define rAUD4ENV NR42_REG  </span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">  146</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">NR43_REG</a>;            </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae21217e822a66e77c15a4df4fa0cf1e9">  147</a></span>&#160;<span class="preprocessor">#define rAUD4POLY NR43_REG  </span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1bfe644bf343abd66c790c2758e7c0bb">  148</a></span>&#160;<span class="preprocessor">#define AUD4POLY_WIDTH_15BIT 0x00 </span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9120d2c7cd8800e302e76f525d332d6c">  149</a></span>&#160;<span class="preprocessor">#define AUD4POLY_WIDTH_7BIT  0x08 </span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">  150</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">NR44_REG</a>;            </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8492c6d9cb38fbb4a2bf9f5caa426578">  151</a></span>&#160;<span class="preprocessor">#define rAUD4GO NR44_REG   </span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">  153</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">NR50_REG</a>;            </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a534fa3f905e37ac434537af23847d89a">  154</a></span>&#160;<span class="preprocessor">#define rAUDVOL NR50_REG   </span></div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0dc3f482441d4e13828aebdf396c3be9">  156</a></span>&#160;<span class="preprocessor">#define AUDVOL_VOL_LEFT(x)  ((x) &lt;&lt; 4)     </span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aabac77131d22297a246a3cfb0e443605">  157</a></span>&#160;<span class="preprocessor">#define AUDVOL_VOL_RIGHT(x) ((x))          </span></div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8cb754b63b073abf30af3fd6f0052832">  158</a></span>&#160;<span class="preprocessor">#define AUDVOL_VIN_LEFT         0b10000000 </span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa257f1e89f6782714cbc76ffc71d0fe7">  159</a></span>&#160;<span class="preprocessor">#define AUDVOL_VIN_RIGHT        0b00001000 </span></div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">  161</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">NR51_REG</a>;           </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad2891216d025f44b02350f2ae2612b1e">  162</a></span>&#160;<span class="preprocessor">#define rAUDTERM NR51_REG </span></div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af9a0eee23057665604c258abc667939d">  164</a></span>&#160;<span class="preprocessor">#define AUDTERM_4_LEFT  0b10000000 </span></div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1470febab4adcff88b31a465d480f72">  165</a></span>&#160;<span class="preprocessor">#define AUDTERM_3_LEFT  0b01000000 </span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a309d26015522c2de1cff39ba6e6e6a04">  166</a></span>&#160;<span class="preprocessor">#define AUDTERM_2_LEFT  0b00100000 </span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aad3ccece4257429e82186f7b4d72b220">  167</a></span>&#160;<span class="preprocessor">#define AUDTERM_1_LEFT  0b00010000 </span></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2ba607e94d30ae8eeb1933c9dabbf68d">  168</a></span>&#160;<span class="preprocessor">#define AUDTERM_4_RIGHT 0b00001000 </span></div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adc74cebc6671c48bd502667f21d24da4">  169</a></span>&#160;<span class="preprocessor">#define AUDTERM_3_RIGHT 0b00000100 </span></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6fb64712b06118cad702691f2aa18cd4">  170</a></span>&#160;<span class="preprocessor">#define AUDTERM_2_RIGHT 0b00000010 </span></div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa3cdccfb4b6b42cdee682bdb6e4fc310">  171</a></span>&#160;<span class="preprocessor">#define AUDTERM_1_RIGHT 0b00000001 </span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">  173</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">NR52_REG</a>;          </div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a627044263543a1074dc9f4570aa8c915">  174</a></span>&#160;<span class="preprocessor">#define rAUDENA NR52_REG </span></div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bbcf10e7a2b69127cd2f9e598bf601f">  176</a></span>&#160;<span class="preprocessor">#define AUDENA_ON    0b10000000 </span></div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1b424d8f8a7438d19261401a843263d2">  177</a></span>&#160;<span class="preprocessor">#define AUDENA_OFF   0b00000000 </span></div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">  179</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">AUD3WAVE</a>[16];</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">  180</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a> <a class="code" href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">PCM_SAMPLE</a>[16];</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">  182</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">LCDC_REG</a>;         </div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8b576a1fe1473ac4aff8afecb28035cb">  183</a></span>&#160;<span class="preprocessor">#define rLCDC LCDC_REG</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#if defined(__TARGET_ap)</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#define LCDCF_ON        0b00000001</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b00000010</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00000100</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00001000</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00010000</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00100000</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b01000000</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b10000000</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">#define LCDCF_B_ON      0</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 1</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   2</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  3</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  4</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   5</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   6</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    7</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#elif defined(__TARGET_duck)</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">#define LCDCF_ON        0b10000000</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b00001000</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00100000</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00010000</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00000100</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00000010</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b00000001</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b01000000</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="preprocessor">#define LCDCF_B_ON      7</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 3</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   5</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  4</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  2</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   1</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   0</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    6</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae9de9f58318f113afbc955986a502692">  236</a></span>&#160;<span class="preprocessor">#define LCDCF_OFF       0b00000000 </span></div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1491fc03ed7f02e7309cc7b0c48b6c8a">  237</a></span>&#160;<span class="preprocessor">#define LCDCF_ON        0b10000000 </span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a178a111ffe8eb38a2875fcaf3bfeba3f">  238</a></span>&#160;<span class="preprocessor">#define LCDCF_WIN9800   0b00000000 </span></div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9d555b0c19019150db73ca245ca62a78">  239</a></span>&#160;<span class="preprocessor">#define LCDCF_WIN9C00   0b01000000 </span></div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a582ece3b5f6cc49d47b2ad3e16d47374">  240</a></span>&#160;<span class="preprocessor">#define LCDCF_WINOFF    0b00000000 </span></div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13a5f08b9aae68f8fa57a8aa7705b732">  241</a></span>&#160;<span class="preprocessor">#define LCDCF_WINON     0b00100000 </span></div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a69a43daf29c680b3ab0fbcad3118cd48">  242</a></span>&#160;<span class="preprocessor">#define LCDCF_BG8800    0b00000000 </span></div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a731588b96fb8cdbeb7e68c089373e6f8">  243</a></span>&#160;<span class="preprocessor">#define LCDCF_BG8000    0b00010000 </span></div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae4e03124190c7f96586b75cb4470a210">  244</a></span>&#160;<span class="preprocessor">#define LCDCF_BG9800    0b00000000 </span></div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2e2a68c3274055a06cf38d00f007d4bf">  245</a></span>&#160;<span class="preprocessor">#define LCDCF_BG9C00    0b00001000 </span></div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1452fbc14f59076347c4cd4864fbeb51">  246</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJ8      0b00000000 </span></div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a14eddd3d53d8e649f1754bd455b4863d">  247</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJ16     0b00000100 </span></div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af14334f65debf6ee02cc21b58729cfde">  248</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJOFF    0b00000000 </span></div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6aef42158c90e8025b8341cdea2e3918">  249</a></span>&#160;<span class="preprocessor">#define LCDCF_OBJON     0b00000010 </span></div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8027f47983459c377169f57987b710c">  250</a></span>&#160;<span class="preprocessor">#define LCDCF_BGOFF     0b00000000 </span></div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a97ab19d938f05bffbcb4221824c3bfce">  251</a></span>&#160;<span class="preprocessor">#define LCDCF_BGON      0b00000001 </span></div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac112618942cb4719def91693616baaff">  252</a></span>&#160;<span class="preprocessor">#define LCDCF_B_ON      7          </span></div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac826fdb70a043ebb8f1b317b00db6ff3">  253</a></span>&#160;<span class="preprocessor">#define LCDCF_B_WIN9C00 6          </span></div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae1de721c95ddc8f29ba9b9deaee8d68c">  254</a></span>&#160;<span class="preprocessor">#define LCDCF_B_WINON   5          </span></div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa336ca1c8bd29763222fc011a6272bdf">  255</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BG8000  4          </span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4889bb882e956665069212c4c8aa623b">  256</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BG9C00  3          </span></div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa8f5bcd5073aae5948a9647dcb76f779">  257</a></span>&#160;<span class="preprocessor">#define LCDCF_B_OBJ16   2          </span></div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6f6852d0f1d295b03e1230d5d97cb3e9">  258</a></span>&#160;<span class="preprocessor">#define LCDCF_B_OBJON   1          </span></div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa1f66868f63af2af6544e84122de3cc3">  259</a></span>&#160;<span class="preprocessor">#define LCDCF_B_BGON    0          </span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">  262</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">STAT_REG</a>;         </div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a338ec378453b4457efdb3008978c0f28">  263</a></span>&#160;<span class="preprocessor">#define rSTAT STAT_REG</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#if defined(__TARGET_ap)</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">#define STATF_LYC       0b00000010</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">#define STATF_MODE10    0b00000100</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="preprocessor">#define STATF_MODE01    0b00001000</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="preprocessor">#define STATF_MODE00    0b00010000</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">#define STATF_LYCF      0b00100000</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="preprocessor">#define STATF_HBL       0b00000000</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#define STATF_VBL       0b10000000</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">#define STATF_OAM       0b01000000</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#define STATF_LCD       0b11000000</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#define STATF_BUSY      0b01000000</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="preprocessor">#define STATF_B_LYC     1</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="preprocessor">#define STATF_B_MODE10  2</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="preprocessor">#define STATF_B_MODE01  3</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="preprocessor">#define STATF_B_MODE00  4</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">#define STATF_B_LYCF    5</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="preprocessor">#define STATF_B_VBL     7</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="preprocessor">#define STATF_B_OAM     6</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">#define STATF_B_BUSY    6</span></div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b53105cc5be896b48794ba82d2aeb4c">  285</a></span>&#160;<span class="preprocessor">#define STATF_LYC     0b01000000  </span></div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a47b5bc2ec6afaf1d50a8db5f24415922">  286</a></span>&#160;<span class="preprocessor">#define STATF_MODE10  0b00100000  </span></div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad27f428fca89ea6b236ff3aa4769a05e">  287</a></span>&#160;<span class="preprocessor">#define STATF_MODE01  0b00010000  </span></div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a72b78d4d640033770be37d95bf8e1f9d">  288</a></span>&#160;<span class="preprocessor">#define STATF_MODE00  0b00001000  </span></div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2b3637bad69da368c3d7136632963fb7">  289</a></span>&#160;<span class="preprocessor">#define STATF_LYCF    0b00000100  </span></div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab04e468d2403bc69f761daa300bb999a">  290</a></span>&#160;<span class="preprocessor">#define STATF_HBL     0b00000000  </span></div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adb52e1f4b56ef259db300a187fe58fc9">  291</a></span>&#160;<span class="preprocessor">#define STATF_VBL     0b00000001  </span></div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acc45e1a4ea60d8248102a71c1658c5a3">  292</a></span>&#160;<span class="preprocessor">#define STATF_OAM     0b00000010  </span></div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6f5df560b791d2fc086c23f99dd03354">  293</a></span>&#160;<span class="preprocessor">#define STATF_LCD     0b00000011  </span></div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a92a063885caf6c6cda665da0309055ec">  294</a></span>&#160;<span class="preprocessor">#define STATF_BUSY    0b00000010  </span></div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1e4b66204a5bff207be36fdfedd63d5">  295</a></span>&#160;<span class="preprocessor">#define STATF_B_LYC     6         </span></div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac75479aa0d34ac4344d80451276e97cc">  296</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE10  5         </span></div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5b683ff804221c6fc721b996fce65bda">  297</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE01  4         </span></div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#acdbf6b3217f6a5681df94c8b8992d1d6">  298</a></span>&#160;<span class="preprocessor">#define STATF_B_MODE00  3         </span></div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab058c32e4ebf21b3beb06a0d7440e6ad">  299</a></span>&#160;<span class="preprocessor">#define STATF_B_LYCF    2         </span></div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a55c4815aea004a9951606db7e7a1f0d7">  300</a></span>&#160;<span class="preprocessor">#define STATF_B_VBL     0         </span></div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7393f505e4277af40167d72415c46fa5">  301</a></span>&#160;<span class="preprocessor">#define STATF_B_OAM     1         </span></div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b0bf7449b517b3cda2a89428db6deb9">  302</a></span>&#160;<span class="preprocessor">#define STATF_B_BUSY    1         </span></div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160; </div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">  305</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">SCY_REG</a>;          </div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad2537c13699429afa59a68c6d6598632">  306</a></span>&#160;<span class="preprocessor">#define rSCY</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">  307</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">SCX_REG</a>;          </div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a97932e023d96ece4715802b6c2565c43">  308</a></span>&#160;<span class="preprocessor">#define rSCX SCX_REG</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">  309</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">LY_REG</a>;           </div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa851dae67d0bb80c17415774558d985f">  310</a></span>&#160;<span class="preprocessor">#define rLY LY_REG</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">  311</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">LYC_REG</a>;          </div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a92083741d31c9b2206b403e97124cbdc">  312</a></span>&#160;<span class="preprocessor">#define rLYC LYC_REG</span></div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">  313</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">DMA_REG</a>;          </div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4225227c2812c3e3e500441f5e90772a">  314</a></span>&#160;<span class="preprocessor">#define rDMA DMA_REG</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">  315</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">BGP_REG</a>;          </div>
<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4fbcc4798c0721efcf4462c04a4566c1">  316</a></span>&#160;<span class="preprocessor">#define rBGP BGP_REG</span></div>
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">  317</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">OBP0_REG</a>;         </div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae0a85bdedbbf1c79b5dbb5b23ca4bf79">  318</a></span>&#160;<span class="preprocessor">#define rOBP0 OBP0_REG</span></div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">  319</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">OBP1_REG</a>;         </div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2a14470dca10f69c092d817a433383bd">  320</a></span>&#160;<span class="preprocessor">#define rOBP1 OBP1_REG</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">  321</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">WY_REG</a>;           </div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afe84077234eb6e0520d7a6d0a9e903e7">  322</a></span>&#160;<span class="preprocessor">#define rWY WY_REG</span></div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">  323</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">WX_REG</a>;           </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aba3cbaeca5ad045fb27095c210b661b7">  324</a></span>&#160;<span class="preprocessor">#define rWX WX_REG</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">  325</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">KEY1_REG</a>;         </div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad3f67013699d0d38c203e4e863c91c41">  326</a></span>&#160;<span class="preprocessor">#define rKEY1 KEY1_REG</span></div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a222d5e3cb366d5e720a832fc68ce3a13">  327</a></span>&#160;<span class="preprocessor">#define rSPD  KEY1_REG</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a793b667a76985934545f73268000371a">  329</a></span>&#160;<span class="preprocessor">#define KEY1F_DBLSPEED 0b10000000</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3205df57bc17c35df2924296341c6c69">  330</a></span>&#160;<span class="preprocessor">#define KEY1F_PREPARE  0b00000001</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160; </div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">  332</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">VBK_REG</a>;          </div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a09fa1caa91313e57dc2c3dd354104b00">  333</a></span>&#160;<span class="preprocessor">#define rVBK VBK_REG</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad21d032f4ab5d5cf21c4d455c4513046">  335</a></span>&#160;<span class="preprocessor">#define VBK_BANK_0      0        </span></div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6b6b917fd4f396ba028bb18631165781">  336</a></span>&#160;<span class="preprocessor">#define VBK_TILES       0        </span></div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afb1c02277ab645e83e2ee339e2f6a64f">  337</a></span>&#160;<span class="preprocessor">#define VBK_BANK_1      1        </span></div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a418a105f4c7d4bf1cbc556eab72c27ca">  338</a></span>&#160;<span class="preprocessor">#define VBK_ATTRIBUTES  1        </span></div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a893093832dbc9cb2221ef08068fd3658">  340</a></span>&#160;<span class="preprocessor">#define BKGF_PRI      0b10000000  </span></div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac4f649cbcf7dd8cefda526aee7b2e29a">  341</a></span>&#160;<span class="preprocessor">#define BKGF_YFLIP    0b01000000  </span></div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2916f86ab672a027a8cca3e2ba96f15b">  342</a></span>&#160;<span class="preprocessor">#define BKGF_XFLIP    0b00100000  </span></div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a07da4325be4f00825b0df8f7b562c009">  343</a></span>&#160;<span class="preprocessor">#define BKGF_BANK0    0b00000000  </span></div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5b751c3e980ea453002074eadb885697">  344</a></span>&#160;<span class="preprocessor">#define BKGF_BANK1    0b00001000  </span></div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4a771645b1215477023c89c8ea7e939d">  346</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL0 0b00000000  </span></div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a55225c84026779ae4596ceb319e2f111">  347</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL1 0b00000001  </span></div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af3ccbb599ddbe72ce3e5e7f82552ceb1">  348</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL2 0b00000010  </span></div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1ee798f12c60156325284722d9a1a15a">  349</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL3 0b00000011  </span></div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adb3a50ad5e3fc54bf332e4156c218e2b">  350</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL4 0b00000100  </span></div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a458910105b4cd6c2f84e8a658d1a5c86">  351</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL5 0b00000101  </span></div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a563317d0bc48caf19a0ffe15100ca7fd">  352</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL6 0b00000110  </span></div>
<div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7966b3d048fb1f1e348cc17f81fd5b04">  353</a></span>&#160;<span class="preprocessor">#define BKGF_CGB_PAL7 0b00000111  </span></div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">  355</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">HDMA1_REG</a>;        </div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5011196496193d80fc58cdb632fbab24">  356</a></span>&#160;<span class="preprocessor">#define rHDMA1 HDMA1_REG</span></div>
<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">  357</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">HDMA2_REG</a>;        </div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abc4249f04a9081f45439f61dabf861e5">  358</a></span>&#160;<span class="preprocessor">#define rHDMA2 HDMA2_REG</span></div>
<div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">  359</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">HDMA3_REG</a>;        </div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aca2df62463b4c3bc4a291e18f26f4ec5">  360</a></span>&#160;<span class="preprocessor">#define rHDMA3 HDMA3_REG</span></div>
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">  361</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">HDMA4_REG</a>;        </div>
<div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#adee641ce3abf6b891e0e16bb56bdfcf7">  362</a></span>&#160;<span class="preprocessor">#define rHDMA4 HDMA4_REG</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">  363</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">HDMA5_REG</a>;        </div>
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae7eecc25286b951a78ef0dfc97aab3a7">  364</a></span>&#160;<span class="preprocessor">#define rHDMA5 HDMA5_REG</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160; </div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2a1acb31d2869997315be64bff66d24b">  366</a></span>&#160;<span class="preprocessor">#define HDMA5F_MODE_GP  0b00000000</span></div>
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3c22f7324f09a14d666f9b21a9742789">  367</a></span>&#160;<span class="preprocessor">#define HDMA5F_MODE_HBL 0b10000000</span></div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a37c8ee0ef95132fd22cd426868510834">  369</a></span>&#160;<span class="preprocessor">#define HDMA5F_BUSY 0b10000000</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160; </div>
<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">  371</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">RP_REG</a>;           </div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a82c53e957d31d22c475e1629843bc12d">  372</a></span>&#160;<span class="preprocessor">#define rRP RP_REG</span></div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160; </div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a092b2e33a050ac6ced4e897498ce9a2f">  374</a></span>&#160;<span class="preprocessor">#define RPF_ENREAD   0b11000000</span></div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaffaea3512173f90b85bae710d40ba6c">  375</a></span>&#160;<span class="preprocessor">#define RPF_DATAIN   0b00000010</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac47b78eb2ffea207a8c7ac643555ba6c">  376</a></span>&#160;<span class="preprocessor">#define RPF_WRITE_HI 0b00000001</span></div>
<div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab0fe74a7c155ae95cbf20bbb5e1bf46b">  377</a></span>&#160;<span class="preprocessor">#define RPF_WRITE_LO 0b00000000</span></div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160; </div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">  379</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">BCPS_REG</a>;         </div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4f1816144e0561ff4db1ad24f4ce847a">  380</a></span>&#160;<span class="preprocessor">#define rBCPS BCPS_REG</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160; </div>
<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a88cceb86b8168f4c539e9612a81145a6">  382</a></span>&#160;<span class="preprocessor">#define BCPSF_AUTOINC 0b10000000</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">  383</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">BCPD_REG</a>;         </div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3dbfd7c3f4a62774fbc98caa73899e96">  384</a></span>&#160;<span class="preprocessor">#define rBCPD BCPD_REG</span></div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">  386</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">OCPS_REG</a>;         </div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a056b789889ecf0691e54f721e015b873">  387</a></span>&#160;<span class="preprocessor">#define rOCPS OCPS_REG</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160; </div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a0a6cc6543aa06c12b87e235c3d5da4ff">  389</a></span>&#160;<span class="preprocessor">#define OCPSF_AUTOINC 0b10000000</span></div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">  390</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">OCPD_REG</a>;         </div>
<div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a723eb3e0c2c681a050e9a325e35c25ae">  391</a></span>&#160;<span class="preprocessor">#define rOCPD OCPD_REG</span></div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">  392</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">SVBK_REG</a>;         </div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a83e14896ee3ddf2a4201b534d8e5f398">  393</a></span>&#160;<span class="preprocessor">#define rSVBK SVBK_REG</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af93abe183851726958f27d979498032e">  394</a></span>&#160;<span class="preprocessor">#define rSMBK SVBK_REG</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">  396</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">PCM12_REG</a>;        </div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a28368838b9e270c301361a5f39c97154">  397</a></span>&#160;<span class="preprocessor">#define rPCM12 PCM12_REG</span></div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">  399</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">PCM34_REG</a>;        </div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ac1c402357ccc5f6c3c451450b30ca959">  400</a></span>&#160;<span class="preprocessor">#define rPCM34 PCM34_REG</span></div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160; </div>
<div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">  402</a></span>&#160;<a class="code" href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a> <a class="code" href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">IE_REG</a>;           </div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52e850e75483f64ca070a33ee4877d47">  403</a></span>&#160;<span class="preprocessor">#define rIE IE_REG</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160; </div>
<div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa7ce989df75547f190d33cc85dce0187">  405</a></span>&#160;<span class="preprocessor">#define IEF_HILO   0b00010000  </span></div>
<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a921bdc6c640b74c8c41e65f27882c68a">  406</a></span>&#160;<span class="preprocessor">#define IEF_SERIAL 0b00001000  </span></div>
<div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7c06fa33152a235baf273f1828dfa0a4">  407</a></span>&#160;<span class="preprocessor">#define IEF_TIMER  0b00000100  </span></div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a2eec77ca1b8730b410a7075c5a9c189e">  408</a></span>&#160;<span class="preprocessor">#define IEF_STAT   0b00000010  </span></div>
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3b8d7fece663511d5778136a5ca0070b">  409</a></span>&#160;<span class="preprocessor">#define IEF_VBLANK 0b00000001  </span></div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;<span class="comment">/* Square wave duty cycle */</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a8a88b504914eed6c0c4d2853689487ba">  413</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_12_5 0b00000000</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a52e58c151c5910792e75f7eea7f7ddbb">  414</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_25   0b01000000</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#abd862604a105aa2475223b06abfa8bfe">  415</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_50   0b10000000</span></div>
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a194e3432f1e4d5d23d4ea096cef783e5">  416</a></span>&#160;<span class="preprocessor">#define AUDLEN_DUTY_75   0b11000000</span></div>
<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a367f10d1cfcc04fdbfcb88f09b230bd3">  417</a></span>&#160;<span class="preprocessor">#define AUDLEN_LENGTH(x) (x)</span></div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;<span class="comment">/* Audio envelope flags */</span></div>
<div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7dab7d2ad1bf670875814d3029d54122">  420</a></span>&#160;<span class="preprocessor">#define AUDENV_VOL(x)    ((x) &lt;&lt; 4)</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9f069f19e8a05d1f1114aaabf531739e">  421</a></span>&#160;<span class="preprocessor">#define AUDENV_UP        0b00001000</span></div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aa58f52563d21d56e79d422c544eeb13f">  422</a></span>&#160;<span class="preprocessor">#define AUDENV_DOWN      0b00000000</span></div>
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad07fa5e19e334eee03c2fcb8671b2ed3">  423</a></span>&#160;<span class="preprocessor">#define AUDENV_LENGTH(x) (x)</span></div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;<span class="comment">/* Audio trigger flags */</span></div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a6d820a86bd30b531d5df5b27139ae92d">  426</a></span>&#160;<span class="preprocessor">#define AUDHIGH_RESTART    0b10000000</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ab3325578cf7f7f67610353a62aba274e">  427</a></span>&#160;<span class="preprocessor">#define AUDHIGH_LENGTH_ON  0b01000000</span></div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#afe4927e6bc7efa57461e3c3b84d242da">  428</a></span>&#160;<span class="preprocessor">#define AUDHIGH_LENGTH_OFF 0b00000000</span></div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="comment">/* OAM attributes flags */</span></div>
<div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a393866ca405b1023eec0e784bb88b026">  431</a></span>&#160;<span class="preprocessor">#define OAMF_PRI      0b10000000  </span></div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a820677d593625e8716c3b78f36feb805">  432</a></span>&#160;<span class="preprocessor">#define OAMF_YFLIP    0b01000000  </span></div>
<div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3cd1c1a1291d43dd43b181ff07f8b0a7">  433</a></span>&#160;<span class="preprocessor">#define OAMF_XFLIP    0b00100000  </span></div>
<div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a22b6b835de9ee737be73c4d252aac87c">  434</a></span>&#160;<span class="preprocessor">#define OAMF_PAL0     0b00000000  </span></div>
<div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad92f3b2a1cc16700a4660c5821bcb15d">  435</a></span>&#160;<span class="preprocessor">#define OAMF_PAL1     0b00010000  </span></div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#aade9a193ade9ff22ed6f6263d1a3549b">  436</a></span>&#160;<span class="preprocessor">#define OAMF_BANK0    0b00000000  </span></div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad195d4be68ff54c3926c431fa5511de5">  437</a></span>&#160;<span class="preprocessor">#define OAMF_BANK1    0b00001000  </span></div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4ff8c8a7acb74ba54043596110091605">  439</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL0 0b00000000  </span></div>
<div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a9dff52d03755812d3a5ee7ca971c2e83">  440</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL1 0b00000001  </span></div>
<div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a74744fb475532fa5d343e0818dcc6f88">  441</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL2 0b00000010  </span></div>
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a704ab20694793ea87aace8bfc29568bc">  442</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL3 0b00000011  </span></div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a13d5cddfb4a05fa49fc794aeea675c7b">  443</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL4 0b00000100  </span></div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af9284c71b8ebf10ef8b9e12268f2cce3">  444</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL5 0b00000101  </span></div>
<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad6f5b0d9ae958dee3d6dfa8f4273ff5a">  445</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL6 0b00000110  </span></div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af4b27e8f3c3e14a4f91051fea4c64e4b">  446</a></span>&#160;<span class="preprocessor">#define OAMF_CGB_PAL7 0b00000111  </span></div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a5dc4d1ee47fe269761fe8fc46d56dabb">  448</a></span>&#160;<span class="preprocessor">#define OAMF_PALMASK 0b00000111   </span></div>
<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a519e327cac96f68a8ca9b77e0343672f">  450</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_X_OFFSET 0        </span></div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af334c0e7dd6e434b3dbebd45bcdeb75a">  451</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_Y_OFFSET 0        </span></div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#add7f32ba868ef6517798f5fce337e4b2">  452</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_WIDTH 20          </span></div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad252264fdcf900e5fbf611f7a45962ed">  453</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_HEIGHT 18         </span></div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a491dc081eae8c81e7ca88075ab806291">  454</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_BUFFER_WIDTH 32   </span></div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a81fb56b6778772f829dab4c534e7749e">  455</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_BUFFER_HEIGHT 32  </span></div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a4d682ed7a6158c5ba10afec739b17a8a">  456</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_MAP_ENTRY_SIZE 1  </span></div>
<div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#af531e7ac0c0a58517fa3061631745c31">  457</a></span>&#160;<span class="preprocessor">#define DEVICE_SPRITE_PX_OFFSET_X 8     </span></div>
<div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7f6c8420831388300bbec13ea4cb57a0">  458</a></span>&#160;<span class="preprocessor">#define DEVICE_SPRITE_PX_OFFSET_Y 16    </span></div>
<div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a62cb8564bf5e8cdd85ac33bc1c7896f2">  459</a></span>&#160;<span class="preprocessor">#define DEVICE_WINDOW_PX_OFFSET_X 7     </span></div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a3f8565ca9dc8eacd88d0d58313408329">  460</a></span>&#160;<span class="preprocessor">#define DEVICE_WINDOW_PX_OFFSET_Y 0     </span></div>
<div class="line"><a name="l00461"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#ad14c51cdfb347c34c364f54e67dc978d">  461</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_PX_WIDTH (DEVICE_SCREEN_WIDTH * 8)   </span></div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="gb_2hardware_8h.html#a7bd450aa268b881257089cf8cd6697ec">  462</a></span>&#160;<span class="preprocessor">#define DEVICE_SCREEN_PX_HEIGHT (DEVICE_SCREEN_HEIGHT * 8) </span></div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="agb_2hardware_8h_html_a014f3a9d7ce8f8026c9ac6c0410bb099"><div class="ttname"><a href="gb_2hardware_8h.html#a014f3a9d7ce8f8026c9ac6c0410bb099">rROMB1</a></div><div class="ttdeci">__BYTE_REG rROMB1</div><div class="ttdef"><b>Definition:</b> hardware.h:36</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a01c768b60853c8eecdefc2cedfc8d672"><div class="ttname"><a href="gb_2hardware_8h.html#a01c768b60853c8eecdefc2cedfc8d672">NR33_REG</a></div><div class="ttdeci">__REG NR33_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:137</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a04c340d91842e8ee2b93922c2bcf39a4"><div class="ttname"><a href="gb_2hardware_8h.html#a04c340d91842e8ee2b93922c2bcf39a4">NR14_REG</a></div><div class="ttdeci">__REG NR14_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:119</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a04f9a36ab04334fcd21d2f50c125d5d0"><div class="ttname"><a href="gb_2hardware_8h.html#a04f9a36ab04334fcd21d2f50c125d5d0">P1_REG</a></div><div class="ttdeci">__REG P1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:57</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a09a4ae65605182c8b694197d3aea695e"><div class="ttname"><a href="gb_2hardware_8h.html#a09a4ae65605182c8b694197d3aea695e">_SRAM</a></div><div class="ttdeci">__BYTES _SRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:24</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a0b42e4dadd74c927e8b801b4f42c0e44"><div class="ttname"><a href="gb_2hardware_8h.html#a0b42e4dadd74c927e8b801b4f42c0e44">__REG</a></div><div class="ttdeci">#define __REG</div><div class="ttdef"><b>Definition:</b> hardware.h:14</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a0f49339112f87fecc29a8e0d7f6636bb"><div class="ttname"><a href="gb_2hardware_8h.html#a0f49339112f87fecc29a8e0d7f6636bb">rMBC7_SRAM_ENABLE_2</a></div><div class="ttdeci">__BYTE_REG rMBC7_SRAM_ENABLE_2</div><div class="ttdef"><b>Definition:</b> hardware.h:42</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a0fb715973ee3edd1b525eb7f503e3b2a"><div class="ttname"><a href="gb_2hardware_8h.html#a0fb715973ee3edd1b525eb7f503e3b2a">SC_REG</a></div><div class="ttdeci">__REG SC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:73</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a134e3f274c1e607b8c5ff5724860e288"><div class="ttname"><a href="gb_2hardware_8h.html#a134e3f274c1e607b8c5ff5724860e288">_IO</a></div><div class="ttdeci">__BYTE_REG _IO[]</div><div class="ttdef"><b>Definition:</b> hardware.h:28</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a13f3e89f7b92258d825292e5058815c7"><div class="ttname"><a href="gb_2hardware_8h.html#a13f3e89f7b92258d825292e5058815c7">OBP0_REG</a></div><div class="ttdeci">__REG OBP0_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:317</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a1454ad6d5d04273eae1288af86deadac"><div class="ttname"><a href="gb_2hardware_8h.html#a1454ad6d5d04273eae1288af86deadac">HDMA5_REG</a></div><div class="ttdeci">__REG HDMA5_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:363</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a1686d2457eb4ad834bb75fb81c86aed8"><div class="ttname"><a href="gb_2hardware_8h.html#a1686d2457eb4ad834bb75fb81c86aed8">OCPS_REG</a></div><div class="ttdeci">__REG OCPS_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:386</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a16ec6767bce0ca8c46ac6f67727e4640"><div class="ttname"><a href="gb_2hardware_8h.html#a16ec6767bce0ca8c46ac6f67727e4640">rMBC7_ACCEL_Y_LO</a></div><div class="ttdeci">__BYTE_REG rMBC7_ACCEL_Y_LO</div><div class="ttdef"><b>Definition:</b> hardware.h:47</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a1c8d52607616ef37da335447e4cbe850"><div class="ttname"><a href="gb_2hardware_8h.html#a1c8d52607616ef37da335447e4cbe850">WY_REG</a></div><div class="ttdeci">__REG WY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:321</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a1faf3ac761847699c2c60ce044387b39"><div class="ttname"><a href="gb_2hardware_8h.html#a1faf3ac761847699c2c60ce044387b39">rMBC7_ACCEL_Y_HI</a></div><div class="ttdeci">__BYTE_REG rMBC7_ACCEL_Y_HI</div><div class="ttdef"><b>Definition:</b> hardware.h:48</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a1fc8ff37ffe1c431364e1ef7c3961b30"><div class="ttname"><a href="gb_2hardware_8h.html#a1fc8ff37ffe1c431364e1ef7c3961b30">BCPD_REG</a></div><div class="ttdeci">__REG BCPD_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:383</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a244b162cf13bbcb4fe842d7e298b39c2"><div class="ttname"><a href="gb_2hardware_8h.html#a244b162cf13bbcb4fe842d7e298b39c2">SCY_REG</a></div><div class="ttdeci">__REG SCY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:305</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a244ee6d8f6144be9b0f94602eddb6239"><div class="ttname"><a href="gb_2hardware_8h.html#a244ee6d8f6144be9b0f94602eddb6239">NR32_REG</a></div><div class="ttdeci">__REG NR32_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:135</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a271367a0bf840e5422b3a7ed541776f8"><div class="ttname"><a href="gb_2hardware_8h.html#a271367a0bf840e5422b3a7ed541776f8">PCM_SAMPLE</a></div><div class="ttdeci">__BYTE_REG PCM_SAMPLE[16]</div><div class="ttdef"><b>Definition:</b> hardware.h:180</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a28fa1ca08ef1c8ed97280bc5e60bdd99"><div class="ttname"><a href="gb_2hardware_8h.html#a28fa1ca08ef1c8ed97280bc5e60bdd99">BCPS_REG</a></div><div class="ttdeci">__REG BCPS_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:379</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a2f83a5f5daa6418c77756e32923aef5a"><div class="ttname"><a href="gb_2hardware_8h.html#a2f83a5f5daa6418c77756e32923aef5a">_RAMBANK</a></div><div class="ttdeci">__BYTES _RAMBANK[]</div><div class="ttdef"><b>Definition:</b> hardware.h:26</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a2fe41a6e0abb211cc00a8fca90543966"><div class="ttname"><a href="gb_2hardware_8h.html#a2fe41a6e0abb211cc00a8fca90543966">AUD3WAVE</a></div><div class="ttdeci">__BYTE_REG AUD3WAVE[16]</div><div class="ttdef"><b>Definition:</b> hardware.h:179</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a310aa43fbee2fd6b6b419df48acce1e0"><div class="ttname"><a href="gb_2hardware_8h.html#a310aa43fbee2fd6b6b419df48acce1e0">WX_REG</a></div><div class="ttdeci">__REG WX_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:323</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a33690469970c7f845600e56902e8bfe0"><div class="ttname"><a href="gb_2hardware_8h.html#a33690469970c7f845600e56902e8bfe0">rMBC7_ACCEL_X_HI</a></div><div class="ttdeci">__BYTE_REG rMBC7_ACCEL_X_HI</div><div class="ttdef"><b>Definition:</b> hardware.h:46</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a39e5a5b9afd2c2ca78de4aba7ccd071c"><div class="ttname"><a href="gb_2hardware_8h.html#a39e5a5b9afd2c2ca78de4aba7ccd071c">TMA_REG</a></div><div class="ttdeci">__REG TMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:92</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a3a2e883779980c1c37e780f47da4dd69"><div class="ttname"><a href="gb_2hardware_8h.html#a3a2e883779980c1c37e780f47da4dd69">HDMA4_REG</a></div><div class="ttdeci">__REG HDMA4_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:361</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a3b39604bdf93a32e9ff965c1a55f0df8"><div class="ttname"><a href="gb_2hardware_8h.html#a3b39604bdf93a32e9ff965c1a55f0df8">__BYTE_REG</a></div><div class="ttdeci">#define __BYTE_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:13</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a3d30d4797321b403cd713d727fa3db6c"><div class="ttname"><a href="gb_2hardware_8h.html#a3d30d4797321b403cd713d727fa3db6c">NR13_REG</a></div><div class="ttdeci">__REG NR13_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:117</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a428894ca3fd0bb4527b03bed551ff04c"><div class="ttname"><a href="gb_2hardware_8h.html#a428894ca3fd0bb4527b03bed551ff04c">PCM12_REG</a></div><div class="ttdeci">__REG PCM12_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:396</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a472e3b0909a2f0878f643e9968b871ef"><div class="ttname"><a href="gb_2hardware_8h.html#a472e3b0909a2f0878f643e9968b871ef">_HRAM</a></div><div class="ttdeci">__BYTE_REG _HRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:30</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a509a5d0f138b40830cb447a862573be5"><div class="ttname"><a href="gb_2hardware_8h.html#a509a5d0f138b40830cb447a862573be5">IF_REG</a></div><div class="ttdeci">__REG IF_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:104</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a52593a64863d51fbf5860b0d31448972"><div class="ttname"><a href="gb_2hardware_8h.html#a52593a64863d51fbf5860b0d31448972">NR43_REG</a></div><div class="ttdeci">__REG NR43_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:146</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a557833cc1671aa0bd71f33766b4e0f24"><div class="ttname"><a href="gb_2hardware_8h.html#a557833cc1671aa0bd71f33766b4e0f24">NR41_REG</a></div><div class="ttdeci">__REG NR41_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:142</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a57a94790cda8101a29c0d20086770f1b"><div class="ttname"><a href="gb_2hardware_8h.html#a57a94790cda8101a29c0d20086770f1b">HDMA3_REG</a></div><div class="ttdeci">__REG HDMA3_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:359</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a591084a506c33266b7d6cc3b4b8936ae"><div class="ttname"><a href="gb_2hardware_8h.html#a591084a506c33266b7d6cc3b4b8936ae">LYC_REG</a></div><div class="ttdeci">__REG LYC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:311</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a5ccae0d556500e1055a0ec8de20c535a"><div class="ttname"><a href="gb_2hardware_8h.html#a5ccae0d556500e1055a0ec8de20c535a">VBK_REG</a></div><div class="ttdeci">__REG VBK_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:332</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a5f2da0d8200f44b6fd694c4a2bea820e"><div class="ttname"><a href="gb_2hardware_8h.html#a5f2da0d8200f44b6fd694c4a2bea820e">SB_REG</a></div><div class="ttdeci">__REG SB_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:71</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a64dd59016e4f0e78672962fbc553a4b4"><div class="ttname"><a href="gb_2hardware_8h.html#a64dd59016e4f0e78672962fbc553a4b4">rRAMG</a></div><div class="ttdeci">__BYTE_REG rRAMG</div><div class="ttdef"><b>Definition:</b> hardware.h:34</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a6515fdfaa50eeb7e63faeea54f77cd6b"><div class="ttname"><a href="gb_2hardware_8h.html#a6515fdfaa50eeb7e63faeea54f77cd6b">LCDC_REG</a></div><div class="ttdeci">__REG LCDC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:182</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a659173ac2c8da7fd04bc77973eb95256"><div class="ttname"><a href="gb_2hardware_8h.html#a659173ac2c8da7fd04bc77973eb95256">TAC_REG</a></div><div class="ttdeci">__REG TAC_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:94</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a6676e579a5e421adfb3d3e2d470d9ab6"><div class="ttname"><a href="gb_2hardware_8h.html#a6676e579a5e421adfb3d3e2d470d9ab6">NR24_REG</a></div><div class="ttdeci">__REG NR24_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:128</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a668fd555c203361f5e4b835f05243102"><div class="ttname"><a href="gb_2hardware_8h.html#a668fd555c203361f5e4b835f05243102">_VRAM9000</a></div><div class="ttdeci">__BYTES _VRAM9000[]</div><div class="ttdef"><b>Definition:</b> hardware.h:21</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a6dd3af1c8e3c66409aa0bc889d98e171"><div class="ttname"><a href="gb_2hardware_8h.html#a6dd3af1c8e3c66409aa0bc889d98e171">NR21_REG</a></div><div class="ttdeci">__REG NR21_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:122</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a7030908728e166877fba9065671deb02"><div class="ttname"><a href="gb_2hardware_8h.html#a7030908728e166877fba9065671deb02">_OAMRAM</a></div><div class="ttdeci">__BYTES _OAMRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:27</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a70db64bdd045a9df09b289fe9b28af22"><div class="ttname"><a href="gb_2hardware_8h.html#a70db64bdd045a9df09b289fe9b28af22">_AUD3WAVERAM</a></div><div class="ttdeci">__BYTE_REG _AUD3WAVERAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:29</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a7279430d110acf02fa176d5f427a6491"><div class="ttname"><a href="gb_2hardware_8h.html#a7279430d110acf02fa176d5f427a6491">KEY1_REG</a></div><div class="ttdeci">__REG KEY1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:325</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a72f13bc5e9d5d2c2bd837566062007a4"><div class="ttname"><a href="gb_2hardware_8h.html#a72f13bc5e9d5d2c2bd837566062007a4">rMBC7_SRAM_ENABLE_1</a></div><div class="ttdeci">__BYTE_REG rMBC7_SRAM_ENABLE_1</div><div class="ttdef"><b>Definition:</b> hardware.h:41</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a73c94166161c33c61d63b3e4b5209cd0"><div class="ttname"><a href="gb_2hardware_8h.html#a73c94166161c33c61d63b3e4b5209cd0">_VRAM8000</a></div><div class="ttdeci">__BYTES _VRAM8000[]</div><div class="ttdef"><b>Definition:</b> hardware.h:19</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a76532f8742d9dd8cb26d2ccfd9c37bbf"><div class="ttname"><a href="gb_2hardware_8h.html#a76532f8742d9dd8cb26d2ccfd9c37bbf">RP_REG</a></div><div class="ttdeci">__REG RP_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:371</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a7accf5feabd95a2d84c72f5915fff837"><div class="ttname"><a href="gb_2hardware_8h.html#a7accf5feabd95a2d84c72f5915fff837">NR12_REG</a></div><div class="ttdeci">__REG NR12_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:115</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a7bb32ac86e3fbf5f869410ba42620616"><div class="ttname"><a href="gb_2hardware_8h.html#a7bb32ac86e3fbf5f869410ba42620616">NR23_REG</a></div><div class="ttdeci">__REG NR23_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:126</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a801400d58ab7d862742e43b49fa68c8d"><div class="ttname"><a href="gb_2hardware_8h.html#a801400d58ab7d862742e43b49fa68c8d">HDMA2_REG</a></div><div class="ttdeci">__REG HDMA2_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:357</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a849d2cff8df2655f86b294466bec40d6"><div class="ttname"><a href="gb_2hardware_8h.html#a849d2cff8df2655f86b294466bec40d6">NR44_REG</a></div><div class="ttdeci">__REG NR44_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:150</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a85d8e680d4d40a918b4195d2a4fada2a"><div class="ttname"><a href="gb_2hardware_8h.html#a85d8e680d4d40a918b4195d2a4fada2a">NR30_REG</a></div><div class="ttdeci">__REG NR30_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:131</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a86cc170585319565195f2c163250be1f"><div class="ttname"><a href="gb_2hardware_8h.html#a86cc170585319565195f2c163250be1f">SCX_REG</a></div><div class="ttdeci">__REG SCX_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:307</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a924fdf48f6ad020423f6309055314928"><div class="ttname"><a href="gb_2hardware_8h.html#a924fdf48f6ad020423f6309055314928">NR50_REG</a></div><div class="ttdeci">__REG NR50_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:153</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a9d295bb437953de5ebcb3c12d65743aa"><div class="ttname"><a href="gb_2hardware_8h.html#a9d295bb437953de5ebcb3c12d65743aa">TIMA_REG</a></div><div class="ttdeci">__REG TIMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:90</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a9da545164e049ef773128f869daece13"><div class="ttname"><a href="gb_2hardware_8h.html#a9da545164e049ef773128f869daece13">OBP1_REG</a></div><div class="ttdeci">__REG OBP1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:319</div></div>
<div class="ttc" id="agb_2hardware_8h_html_a9e24325500b1b08daf1fefe60d7dc030"><div class="ttname"><a href="gb_2hardware_8h.html#a9e24325500b1b08daf1fefe60d7dc030">rMBC7_ACCEL_X_LO</a></div><div class="ttdeci">__BYTE_REG rMBC7_ACCEL_X_LO</div><div class="ttdef"><b>Definition:</b> hardware.h:45</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aa128832cecec4e609517fe3daf044e5e"><div class="ttname"><a href="gb_2hardware_8h.html#aa128832cecec4e609517fe3daf044e5e">SVBK_REG</a></div><div class="ttdeci">__REG SVBK_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:392</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aaef0dc6aab2f821ab406fdbc643af48e"><div class="ttname"><a href="gb_2hardware_8h.html#aaef0dc6aab2f821ab406fdbc643af48e">IE_REG</a></div><div class="ttdeci">__REG IE_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:402</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ab16e97796d675205a027b1b28b52956e"><div class="ttname"><a href="gb_2hardware_8h.html#ab16e97796d675205a027b1b28b52956e">HDMA1_REG</a></div><div class="ttdeci">__REG HDMA1_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:355</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ab2767d5f8f0ad35d8c8ee0bb3f4c51c3"><div class="ttname"><a href="gb_2hardware_8h.html#ab2767d5f8f0ad35d8c8ee0bb3f4c51c3">__BYTES</a></div><div class="ttdeci">#define __BYTES</div><div class="ttdef"><b>Definition:</b> hardware.h:12</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ab28f97eabd5f32d48ea27d97bd5dc64f"><div class="ttname"><a href="gb_2hardware_8h.html#ab28f97eabd5f32d48ea27d97bd5dc64f">NR51_REG</a></div><div class="ttdeci">__REG NR51_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:161</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ab6da3e2cdbac1331bef3f6de9c808ab1"><div class="ttname"><a href="gb_2hardware_8h.html#ab6da3e2cdbac1331bef3f6de9c808ab1">NR34_REG</a></div><div class="ttdeci">__REG NR34_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:139</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aba3d9fb63552bc02ec879696b581adac"><div class="ttname"><a href="gb_2hardware_8h.html#aba3d9fb63552bc02ec879696b581adac">NR42_REG</a></div><div class="ttdeci">__REG NR42_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:144</div></div>
<div class="ttc" id="agb_2hardware_8h_html_abe4c4490be3e52a9e4096421af3d37e1"><div class="ttname"><a href="gb_2hardware_8h.html#abe4c4490be3e52a9e4096421af3d37e1">rMBC7_LATCH_2</a></div><div class="ttdeci">__BYTE_REG rMBC7_LATCH_2</div><div class="ttdef"><b>Definition:</b> hardware.h:44</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ac1cf31cae6046360271ead6e8b7a6e87"><div class="ttname"><a href="gb_2hardware_8h.html#ac1cf31cae6046360271ead6e8b7a6e87">_RAM</a></div><div class="ttdeci">__BYTES _RAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:25</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ac2985dbccb16c4c00381d6fbe9600aff"><div class="ttname"><a href="gb_2hardware_8h.html#ac2985dbccb16c4c00381d6fbe9600aff">rRAMB</a></div><div class="ttdeci">__BYTE_REG rRAMB</div><div class="ttdef"><b>Definition:</b> hardware.h:37</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ac429365dce851ca57d8fe4f7c54a1caa"><div class="ttname"><a href="gb_2hardware_8h.html#ac429365dce851ca57d8fe4f7c54a1caa">NR52_REG</a></div><div class="ttdeci">__REG NR52_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:173</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ac5b9d1761bb972948fe10637dfaa94a7"><div class="ttname"><a href="gb_2hardware_8h.html#ac5b9d1761bb972948fe10637dfaa94a7">_SCRN0</a></div><div class="ttdeci">__BYTES _SCRN0[]</div><div class="ttdef"><b>Definition:</b> hardware.h:22</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ac6d19ac313a99f41bd996e1ca5e43df0"><div class="ttname"><a href="gb_2hardware_8h.html#ac6d19ac313a99f41bd996e1ca5e43df0">PCM34_REG</a></div><div class="ttdeci">__REG PCM34_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:399</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ad40ebf3b29add46cdd310a7e0802bc6b"><div class="ttname"><a href="gb_2hardware_8h.html#ad40ebf3b29add46cdd310a7e0802bc6b">STAT_REG</a></div><div class="ttdeci">__REG STAT_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:262</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ad53dc7f22b99fce195210a95f2749a72"><div class="ttname"><a href="gb_2hardware_8h.html#ad53dc7f22b99fce195210a95f2749a72">NR11_REG</a></div><div class="ttdeci">__REG NR11_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:113</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ad859dc62b1df1584ade0cbb822a3e46f"><div class="ttname"><a href="gb_2hardware_8h.html#ad859dc62b1df1584ade0cbb822a3e46f">NR10_REG</a></div><div class="ttdeci">__REG NR10_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:107</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ae0976a29e341edc6ceb810e6eb0328f1"><div class="ttname"><a href="gb_2hardware_8h.html#ae0976a29e341edc6ceb810e6eb0328f1">rROMB0</a></div><div class="ttdeci">__BYTE_REG rROMB0</div><div class="ttdef"><b>Definition:</b> hardware.h:35</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ae13ce414d3fe7c98c1434918186dfc81"><div class="ttname"><a href="gb_2hardware_8h.html#ae13ce414d3fe7c98c1434918186dfc81">DMA_REG</a></div><div class="ttdeci">__REG DMA_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:313</div></div>
<div class="ttc" id="agb_2hardware_8h_html_ae24d0e88a1e1b8367ac1f5709d3e500c"><div class="ttname"><a href="gb_2hardware_8h.html#ae24d0e88a1e1b8367ac1f5709d3e500c">OCPD_REG</a></div><div class="ttdeci">__REG OCPD_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:390</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aea78f857e34370d7e1177a8bafe08148"><div class="ttname"><a href="gb_2hardware_8h.html#aea78f857e34370d7e1177a8bafe08148">NR31_REG</a></div><div class="ttdeci">__REG NR31_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:133</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aea9200b29be90b58417787720cdf750b"><div class="ttname"><a href="gb_2hardware_8h.html#aea9200b29be90b58417787720cdf750b">_VRAM</a></div><div class="ttdeci">__BYTES _VRAM[]</div><div class="ttdef"><b>Definition:</b> hardware.h:18</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aeb643bd4eac2e6e410cae2fae677c0a7"><div class="ttname"><a href="gb_2hardware_8h.html#aeb643bd4eac2e6e410cae2fae677c0a7">LY_REG</a></div><div class="ttdeci">__REG LY_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:309</div></div>
<div class="ttc" id="agb_2hardware_8h_html_aee53ec47dc1fcc0b5eb4e8e4e8505a30"><div class="ttname"><a href="gb_2hardware_8h.html#aee53ec47dc1fcc0b5eb4e8e4e8505a30">rMBC7_LATCH_1</a></div><div class="ttdeci">__BYTE_REG rMBC7_LATCH_1</div><div class="ttdef"><b>Definition:</b> hardware.h:43</div></div>
<div class="ttc" id="agb_2hardware_8h_html_af1301c73bf93350045ba3a4887723ae8"><div class="ttname"><a href="gb_2hardware_8h.html#af1301c73bf93350045ba3a4887723ae8">NR22_REG</a></div><div class="ttdeci">__REG NR22_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:124</div></div>
<div class="ttc" id="agb_2hardware_8h_html_af577ba87ec3d13d7415e4c4a53cdf997"><div class="ttname"><a href="gb_2hardware_8h.html#af577ba87ec3d13d7415e4c4a53cdf997">BGP_REG</a></div><div class="ttdeci">__REG BGP_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:315</div></div>
<div class="ttc" id="agb_2hardware_8h_html_af763563b6123ef29d73931f616969049"><div class="ttname"><a href="gb_2hardware_8h.html#af763563b6123ef29d73931f616969049">_VRAM8800</a></div><div class="ttdeci">__BYTES _VRAM8800[]</div><div class="ttdef"><b>Definition:</b> hardware.h:20</div></div>
<div class="ttc" id="agb_2hardware_8h_html_afa1e18e47bf68ce68d7807fff6edf16b"><div class="ttname"><a href="gb_2hardware_8h.html#afa1e18e47bf68ce68d7807fff6edf16b">DIV_REG</a></div><div class="ttdeci">__REG DIV_REG</div><div class="ttdef"><b>Definition:</b> hardware.h:88</div></div>
<div class="ttc" id="agb_2hardware_8h_html_afff31f511127bf7ba1bd3b6bc740aee8"><div class="ttname"><a href="gb_2hardware_8h.html#afff31f511127bf7ba1bd3b6bc740aee8">_SCRN1</a></div><div class="ttdeci">__BYTES _SCRN1[]</div><div class="ttdef"><b>Definition:</b> hardware.h:23</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
</div>
</body>
</html>
